package com.portal.business.news.webservice;

import com.portal.business.news.NewsService;
import com.portal.business.news.dto.NewsDTO;
import com.portal.business.news.dto.NewsResultBean;
import com.portal.framework.common.PortalSearchBean;
		
public class NewsWebImpl implements NewsWebService{

	private NewsService newsService;

	public NewsResultBean findNews(PortalSearchBean portalSearchBean){
		return this.newsService.findNews(portalSearchBean);
	}

	public NewsDTO addNews(NewsDTO NewsDTO) {
		return this.newsService.addNews(NewsDTO);
	}

	public int delNews(Integer NewsId) {
		return this.newsService.delNews(NewsId);
	}

	public int delNewsBatch(String[] asIdsStr) {
		return this.newsService.delNewsBatch(asIdsStr);
	}

	public NewsDTO findByID(Integer NewsId) {
		return this.newsService.findByID(NewsId);
	}

	public NewsDTO updateNews(NewsDTO NewsDTO) {
		return this.newsService.updateNews(NewsDTO);
	}

	public NewsService getNewsService() {
		return newsService;
	}

	public void setNewsService(NewsService newsService) {
		this.newsService = newsService;
	}


}

		